<?php

/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Cmspage
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */

class Cmspage_Form_Admin_Category_Edit extends Cmspage_Form_Admin_Category_Create {
	public $_error = array ();
	protected $_item;
	
	public function getItem() {
		return $this->_item;
	}
	
	public function setItem(Core_Model_Item_Abstract $item) {
		$this->_item = $item;
		return $this;
	}
	
	public function init() {
		parent::init ();
		$this->setTitle ( 'Edit Page Category' )->setDescription ( 'Edit your page category below, then click "Save Changes" to save.' );
		
		$this->submit->setLabel ( 'Save Changes' );
	
	}
}